FROM golang:latest

ENV GOPROXY https://goproxy.cn,direct
WORKDIR $GOPATH/src/github.com/EDDYCJY/heyzhima-yt-cpu
COPY . $GOPATH/src/github.com/EDDYCJY/heyzhima-yt-cpu
RUN go build .

EXPOSE 8000
ENTRYPOINT ["./heyzhima-yt-cpu"]
